home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
telegard
/
tgstat12.zip
/
TGSTAT.DOC
< prev
next >
Wrap
Text File
|
1996-01-26
|
20KB
|
456 lines
TGStat v1.2
Telegard All Status Bulletin Generator
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
All rights reserved.
For use with Telegard Bulletin Board System v3.0+ ONLY!
_________
COPYRIGHT
This document, TGStat and all files associated to TGStat are
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
All rights reserved.
TELEGARD v3.0 is Copyright (C) 1995-96 by Tim Strike.
Other brand and product names are trademarks or registered
trademarks of their respective holders.
MicroEuropa Informática (C) 1995-96
Company ID: 501190252
_______
LICENSE
TGStat and related utilities are not Public Domain.
You can use this software for the time that you like, if the
original files and related documents are not modified. This program
is Freeware.
__________
WARRANTIES
None. Use this software at your own risk.
________
FEATURES
TGStat is a statistical bulletin generator, it allows you to create
unlimited bulletins about users in your system, according to
several parameters.
* Fast buffered users list read and sort
* More than 340 MCI codes supported
* Sorts users list for 15 different categories
* Can create an Unlimeted number of bulletins in ONE PASS!
* Supports Left, Right and Center justify TG MCI codes
* Supports date expand (to string) MCI codes
* Allow to visualize on screen the created bulletin
* Test mode features. Visualize with no writing on disk.
* Allow to run templates on command line or in a config file
where you can specify unlimeted number of files to process.
In this release was not included YET the following features, but I
am already working in their implementation:
* Support for History file
* Support for File Area bulletins (top dl files, etc)
* Full support for Tim Strike "HISTINFO" program MCI codes
* Any sugestion that you might have... :)
______
TGSTAT
The following is the operation modes in TGStat, the first example
is for a simple execution with the filenames of the template file
and the bulletin to be created given on the command line. The
second example is the execution of the program using a config file.
TGSTAT <template> <Bulletin> /V /NW /P:<path>
or...
TGSTAT /C:<path and filename> /V /NW /ND /T:<seconds> /P:<path>
The command line options are described above:
-------------------------------------------------------------------
/C:<path+filename> .... Path and Filename of the configuration file
to process.
/P:<path> ............. Path to your main TG directory (where
CONFIG.TG is).
/V .................... Enable view mode. Displays the bulletins at
the same time they are written in the disk.
/NW ................... Disable the writing on disk. The templates
processed can be only displayed.
/T:<seconds> .......... Fixes the display time in view mode between
bulletins. The default is 15 seconds.
Afects only the execution if a config file
is used, in command line mode it does not
afect the display.
/ND ................... Disable the display time between bulletins.
-------------------------------------------------------------------
Nest follows a pratic example of a command line to process only one
template allowing to visualize the template at the same time it is
created.
TGSTAT C:\BBS\TGSTAT\TGSTAT01.TPL C:\BBS\TEXT\BULLET1.MSG /V
The following command line will process a config file, pausing the
display of the bulletins for 30 seconds before processing the next
one.
TGSTAT C:\BBS\TGSTAT\TGSTAT.CFG /T:30 /V
The following command line will allow the SysOp to "test" the
template to see if everything is allright before the program
generates bulletins in the disk. This is a test mode operation only.
TGSTAT C:\BBS\TGSTAT\MYBBS.TPL /NW
or...
TGSTAT /C:C:\BBS\TGSTAT\MYBBS.CFG /NW /T:30
If you wish to process a list of files only in one program
execution, you should create a config file and edit it with a plain
text editor. The file should look something like this:
---[TGSTAT.CFG-----------------------------------------------------
; This is a sample for TGSTAT.CFG file.
; You can modify as you wish.
;
; First process the TG MCI (*.MSG) files.
TGSTAT01.TPL C:\BBS\TEXT\BULLET1.MSG
TGSTAT02.TPL C:\BBS\TEXT\BULLET2.MSG
TGSTAT03.TPL C:\BBS\TEXT\BULLET3.MSG
GLOBAL.TPL C:\BBS\TEXT\BULLET4.MSG
; Now the ANSI files.
C:\ANSI\TGSTAT01.ANS C:\BBS\TEXT\BULLET4.ANS
C:\ANSI\TGSTAT02.ANS C:\BBS\TEXT\BULLET4.ANS
C:\ANSI\TGSTAT03.ANS C:\BBS\TEXT\BULLET4.ANS
C:\ANSI\GLOBAL.ANS C:\BBS\TEXT\BULLET4.ANS
-------------------------------------------------------------------
The format is pretty simple, in each line you will give FIRST the
location (in case it isn't in current directory) and name of the
template file and in SECOND the path and name for the new bulletin.
You can add UNLIMITED number of lines to this config file, if the
above format is allways respected.
Lines starting with a ; will be ignored.
TGStat was designed to process TG MCI codes and color codes files,
but it will process very well ANSI or AVATAR files since you don't
forget to reserve space to the output of the MCI code.
________________
TGSTAT OPERATION
* USERS LIST
TGStat will read users list file and process the data in the way
that you will get through the TGStat MCI codes list all the data
of the 15 top users in each of the diferent 17 categories
processed. The categories are:
. Youngest
. Oldest
. Public posts
. Private posts
. Netmail posts
. # uploads
. # downloads
. # kb uploaded
. # kb downloaded
. Online time
. Calls
. Total posts
. Post/Call ratio
. Newest caller
. Oldest caller
. User that do not call for more time
. Last user
TGStat will give you the first 15 top users in each of this
categories.
* HISTORY
Not supported, yet!
* FILE LIST
Not supported, yet!
_________________________
TGSTAT MCI REFERENCE LIST
This MCI codes can be used when creating a template for the TGStat
process. YOU CAN USE THE TELEGARD MCI CODES ALSO because TGStat
will not process them, so they will only be "interpreted" when the
file is displayed inside the TG.
This table is divided in two parts to be more "readble".
Name BDay PubP PrvP NetP TotP PCR
Youngest ~!L ~!M ~!N ~!O ~!P ~!Q ~!R
Oldest ~?L ~?M ~?N ~?O ~?P ~?Q ~?R
Public Pst ~@L ~@M ~@N ~@O ~@P ~@Q ~@R
Private Pst ~#L ~#M ~#N ~#O ~#P ~#Q ~#R
Netmail Pst ~$L ~$M ~$N ~$O ~$P ~$Q ~$R
# Up ~&L ~&M ~&N ~&O ~&P ~&Q ~&R
# Down ~%L ~%M ~%N ~%O ~%P ~%Q ~%R
# Kb Upl ~=L ~=M ~=N ~=O ~=P ~=Q ~=R
# Kb Down ~-L ~-M ~-N ~-O ~-P ~-Q ~-R
Online ~^L ~^M ~^N ~^O ~^P ~^Q ~^R
Calls ~+L ~+M ~+N ~+O ~+P ~+Q ~+R
Top Poster ~}L ~}M ~}N ~}O ~}P ~}Q ~}R
Top PCR ~{L ~{M ~{N ~{O ~{P ~{Q ~{R
Newest caller ~/L ~/M ~/N ~/O ~/P ~/Q ~/R
Oldest caller ~\L ~\M ~\N ~\O ~\P ~\Q ~\R
Don't cl 4+ ti ~»L ~»M ~»N ~»O ~»P ~»Q ~»R
Oldest caller ~«L ~«M ~«N ~«O ~«P ~«Q ~«R
Up# Dl# UKb DKb Time LgOn Frst Last
Youngest ~!S ~!T ~!U ~!V ~!W ~!X ~!Y ~!Z
Oldest ~?S ~?T ~?U ~?V ~?W ~?X ~?Y ~?Z
Public Pst ~@S ~@T ~@U ~@V ~@W ~@X ~@Y ~@Z
Private Pst ~#S ~#T ~#U ~#V ~#W ~#X ~#Y ~#Z
Netmail Pst ~$S ~$T ~$U ~$V ~$W ~$X ~$Y ~$Z
# Up ~&S ~&T ~&U ~&V ~&W ~&X ~&Y ~&Z
# Down ~%S ~%T ~%U ~%V ~%W ~%X ~%Y ~%Z
# Kb Upl ~=S ~=T ~=U ~=V ~=W ~=X ~=Y ~=Z
# Kb Down ~-S ~-T ~-U ~-V ~-W ~-X ~-Y ~-Z
Online ~^S ~^T ~^U ~^V ~^W ~^X ~^Y ~^Z
Calls ~+S ~+T ~+U ~+V ~+W ~+X ~+Y ~+Z
Top Poster ~}S ~}T ~}U ~}V ~}W ~}X ~}Y ~{Z
Top PCR ~{S ~{T ~{U ~{V ~{W ~{X ~{Y ~}Z
Newest caller ~/S ~/T ~/U ~/V ~/W ~/X ~/Y ~/Z
Oldest caller ~\S ~\T ~\U ~\V ~\W ~\X ~\Y ~\Z
Don't cl 4+ ti ~»S ~»T ~»U ~»V ~»W ~»X ~»Y ~»Z
Lastest caller ~«S ~«T ~«U ~«V ~«W ~«X ~«Y ~«Z
~ELnn Left-justify next MCI code in field of nn characters.
~ERnn Right-justify next MCI code in field of nn characters.
~ECnn Center next MCI code in field of nn characters.
~[Dnn Displays the day in string format
~[Mnn Displays the month in string format
~[Ynn Displays the year in string format
~[Wnn Displays the day of week in the string format
~]Dnn Display the day in numeric format
~]Mnn Display the month in numeric format
~]Ynn Display the year in numeric format
(nn is the date MCI that should be interpreted)
Actually, the ~]D or the ~[D are the same (YET), because they both
return the day of month as a number. The other MCI date
interpretation MCI codes, return as a number or as a string for
example for the month of July the ~]M MCI will return the string
"July" and the ~[M MCI will return the number 07.
________________
TGSTAT MCI USAGE
How to use the information MCI's?
To use the information/data MCI's, you should write the MCI down
and then write the user that you want to know the information.
For example the ~!L MCI will give you the name of one of the 15
Youngest users on your system, to choose the "rank" that you want
to display you should add a number following the MCI, for example
~!L04 will give you the name of the 4st Youngest user on your
system.
You should organize data to make top 10 lists, etc. Here goes an
example for a template file that will produce the Top 10 Uploader
on your system:
Top 10 with most Uploaded Kbytes.
Generated by Telegard All Status Bulletin Generator v1.2.
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
Rank Name/Handle Calls Total Kb Files
────────────────────────────────────────────────────────────────────
1 ~EL26~=L01 ~ER04~=X01 ~ER10~=U01 Kb ~ER05~=S01
2 ~EL26~=L02 ~ER04~=X02 ~ER10~=U02 Kb ~ER05~=S02
3 ~EL26~=L03 ~ER04~=X03 ~ER10~=U03 Kb ~ER05~=S03
4 ~EL26~=L04 ~ER04~=X04 ~ER10~=U04 Kb ~ER05~=S04
5 ~EL26~=L05 ~ER04~=X05 ~ER10~=U05 Kb ~ER05~=S05
6 ~EL26~=L06 ~ER04~=X06 ~ER10~=U06 Kb ~ER05~=S06
7 ~EL26~=L07 ~ER04~=X07 ~ER10~=U07 Kb ~ER05~=S07
8 ~EL26~=L08 ~ER04~=X08 ~ER10~=U08 Kb ~ER05~=S08
9 ~EL26~=L09 ~ER04~=X09 ~ER10~=U09 Kb ~ER05~=S09
10 ~EL26~=L10 ~ER04~=X10 ~ER10~=U10 Kb ~ER05~=S10
────────────────────────────────────────────────────────────────────
Will become...
Top 10 with most Uploaded Kbytes.
Generated by Telegard All Status Bulletin Generator v1.2.
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
Rank Name/Handle Calls Total Kb Files
────────────────────────────────────────────────────────────────────
1 Banco 358 88590 Kb 721
2 Joaquim Gil 265 58455 Kb 336
3 Shadow 245 5873 Kb 37
4 Death'S Law 187 4702 Kb 21
5 Highlander 472 4480 Kb 14
6 Super Vga 87 3657 Kb 16
7 Waveaollic Dude 119 2412 Kb 5
8 Dominus Chaos 7 2201 Kb 7
9 Armando Arranja 18 2070 Kb 4
10 Paulo Js Rodrigues 62 2037 Kb 11
────────────────────────────────────────────────────────────────────
A set of default templates is shiped with this version, they
support color and you can modify them as you wish.
The rank/position of the user to be added to the MCI code, SHOULD
BE ALLWAYS A TWO DIGIT number. If the rank to be displayed is 4,
you should write 04.
How to use date interpretation MCI's?
To make the date interpretation MCI's to work, you will need to
give a date to be processed, like First On date, Last On date,
birthdate, etc.
For example the Birthdate MCI for the youngest user on your system
is ~!M. You will like to work with the nr.1 in your list, the TOP
youngest user, so you will have to had the rank after the MCI, the
MCI will now look like this ~!M01. If you put this in a file,
TGStat after process the file will convert this MCI to a date like
74/06/12 (YY/MM/DD).
If you wish to process this MCI to extract the Week day of this
date, you should use the ~[W MCI like this ~[W~!M01 and TGStat will
replace this two MCI's with the day of the week that this user as
born.
Now follows an example for a template that will produce the Top 10
Youngest users on your system. This template will write an extended
birthdate of the users.
Top 10 Youngest users.
Generated by Telegard All Status Bulletin Generator v1.2.
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
Rank Name/Handle Birthdate
───────────────────────────────────────────────────────────────────
1 ~EL22~!L01 ~ER14~[M~!M01 ~[D~!M01 Of ~[Y~!M01, ~ER09~[W~!M01
2 ~EL22~!L02 ~ER14~[M~!M02 ~[D~!M02 Of ~[Y~!M02, ~ER09~[W~!M02
3 ~EL22~!L03 ~ER14~[M~!M03 ~[D~!M03 Of ~[Y~!M03, ~ER09~[W~!M03
4 ~EL22~!L04 ~ER14~[M~!M04 ~[D~!M04 Of ~[Y~!M04, ~ER09~[W~!M04
5 ~EL22~!L05 ~ER14~[M~!M05 ~[D~!M05 Of ~[Y~!M05, ~ER09~[W~!M05
6 ~EL22~!L06 ~ER14~[M~!M06 ~[D~!M06 Of ~[Y~!M06, ~ER09~[W~!M06
7 ~EL22~!L07 ~ER14~[M~!M07 ~[D~!M07 Of ~[Y~!M07, ~ER09~[W~!M07
8 ~EL22~!L08 ~ER14~[M~!M08 ~[D~!M08 Of ~[Y~!M08, ~ER09~[W~!M08
9 ~EL22~!L09 ~ER14~[M~!M09 ~[D~!M09 Of ~[Y~!M09, ~ER09~[W~!M09
10 ~EL22~!L10 ~ER14~[M~!M10 ~[D~!M10 Of ~[Y~!M10, ~ER09~[W~!M10
───────────────────────────────────────────────────────────────────
Will become...
Top 10 Youngest users.
Generated by Telegard All Status Bulletin Generator v1.2.
Copyright (C) 1995-96 MicroEuropa Informática, Lda.
Rank Name/Handle Birthdate
───────────────────────────────────────────────────────────────────
1 Pedro Miguel Lopes Dos December 12 Of 1987, Tuesday
2 Guest February 02 Of 1983, Wednesday
3 Vlad Nosferatu July 07 Of 1983, Saturday
4 Lestat July 07 Of 1980, Thursday
5 Nuno Soares July 07 Of 1979, Thursday
6 Paul Neves July 07 Of 1978, Tuesday
7 Joao Freitas July 07 Of 1976, Wednesday
8 Carlos Espinha June 06 Of 1975, Tuesday
9 Joao Ribeiro December 12 Of 1973, Tuesday
10 Mike December 12 Of 1973, Monday
───────────────────────────────────────────────────────────────────
Note, that all data given is only and example and date and day of
week may not be right.
______
FUTURE
If I got the time and receive enough support to continue, more
releases will come... .and better ones I hope! <g>
___________
BUG REPORTS
*** PLEASE SUPPORT THIS SOFTWARE REPORTING ANY BUGS FOUND!
You can use the TG_BETA or TG_SUPPORT conferences to reach me. My
netmail address is 2:362/46. You can also reach me by internet
E-Mail "microeuropa.telepac.pt"
____________
REGISTRATION
None.
I decided that this (and a few others) utilities for TG 3.0 are
going to be Freeware.
_______
CONTACT
You can contact the author in the Fidonet address 2:362/46.
If you whish you can call to MicroEuropa Informática support BBS:
PARADiSE CiTY
+351 (0)1 4602328
28,8k (V.34, V.Fast) / 900MB, CDROM (Programmers Devoted System)
Fidonet : 2:362/46
Intelec : 239:2/40
Lusonet : 16:16005/8
By Snail E-Mail
MicroEuropa Informática, Lda.
Av. Cardoso Lopes
2700 AMADORA, PORTUGAL (Europe)
By Internet E-Mail
microeuropa@telepac.pt
THANKS BY YOUR TIME!